package listtest;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 苏李涛
 * Date: 2024-06-09
 * Time: 20:04
 */
public class Test {
    public static void main(String[] args) {
        IList iList = new My_ArrayList();
        iList.add(1);
        iList.add(2);
        iList.add(3);
        iList.add(4);

        System.out.println(iList.size());
        iList.display();
    }

    public static void main1(String[] args) {
        My_ArrayList my_arrayList = new My_ArrayList();
        my_arrayList.display();


        IList iList = new My_ArrayList();
        iList.display();

    }
}
